package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@Schema(
        name = "CareerInfo",
        title = "职员信息表",
        description = ""
)
@TableName(value = "users_career_info")
public class CareerInfo {

    @Schema(title = "职员信息id", description = "")
    @TableId(value = "office_id")
    private Long id;

    @Schema(title = "职员id", description = "")
    @TableField(value = "officer_id")
    private Long officerId;

    @Schema(title = "培训认证", description = "")
    @TableField(value = "dictionary_career_recruit")
    private Long dictionaryCareerRecruit;

    @Schema(title = "性别", description = "")
    @TableField(value = "career_sex")
    private Boolean sex;

    @Schema(title = "出生日期", description = "")
    @TableField(value = "career_birthdate")
    private java.util.Date birthdate;

    @Schema(title = "地址", description = "")
    @TableField(value = "career_address")
    private String address;

    @Schema(title = "婚姻状况", description = "")
    @TableField(value = "career_civil_status")
    private Boolean status;
}
